package com.twp.auth.tuple;

import com.twp.auth.domain.authority.Menu;
import com.twp.auth.domain.authority.Role;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created by tanweiping on 17/8/1.
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class ExtendLoginRespBody {
    private String access_token;
    private String token_type;
    private String refresh_token;
    private int expires_in;
    private String scope;

    private Integer validTime;

    private String name;

    private List<Role> roleList;

    private List<Menu> menuList;

}
